package com.czmh.etc.onlinepubsys.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyk
 * @since 2024-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WjOrder对象", description="")
@TableName("wj_order")
public class EtcWjOrder implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "订单号")
    @TableField("orderNo")
    private String orderNo;

    @ApiModelProperty(value = "车牌号")
    @TableField("vehPlateNo")
    private String vehPlateNo;

    @ApiModelProperty(value = "手机号")
    @TableField("phoneNo")
    private String phoneNo;

    @ApiModelProperty(value = "车牌颜色 0-蓝；1-黄；2-黑；3-白；4-绿白；5-绿黄；")
    @TableField("plateColor")
    private String plateColor;

    @ApiModelProperty(value = "22-储值卡，23-记账卡,传 23")
    @TableField("cardType")
    private Integer cardType;

    @ApiModelProperty(value = "支付类型（ 0-标签购置费、1-充值金额、2-快递费、3-上门服务费、4-特殊业务卡更换费、5-特殊业务卡注销费、6-赠送通行费、7-特殊业务标签注销费、8-特殊业务标签超质保期、9-特殊业务标签无法交回设备、10-标签更换服务费标签服务费、11-卡服务费、12-保证金）")
    @TableField("paymentType")
    private String paymentType;

    @ApiModelProperty(value = "金额（分）这里填写保证金的金额,没有时间传 0,支付类型固定传 12")
    @TableField("amount")
    private Integer amount;

    @ApiModelProperty(value = "安装方式（ 0 上门服务、1 网点办理、2 邮寄、3 线下领取、6 第三方售卖、7 前装单片式、8 第三方库存地推、9 第三方库存邮寄、10 前装、11 万集自有设备）")
    @TableField("installType")
    private String installType;

    @ApiModelProperty(value = "付款单位, 企业填写单位名称，个人只需要填姓名")
    @TableField("billUnit")
    private String billUnit;

    @ApiModelProperty("收货人姓名")
    @TableField("consigneeName")
    private String consigneeName;

    @ApiModelProperty("收货人电话")
    @TableField("consigneePhone")
    private String consigneePhone;

    @ApiModelProperty(value = "省")
    @TableField("province")
    private String province;

    @ApiModelProperty(value = "市")
    @TableField("city")
    private String city;

    @ApiModelProperty(value = "区")
    @TableField("district")
    private String district;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "营业厅名称，万集测试营业厅")
    @TableField("issNameKey")
    private String issNameKey;

    @ApiModelProperty(value = "营业厅编号，WJ001")
    @TableField("issNoKey")
    private String issNoKey;

    @ApiModelProperty(value = "操作员名称，微信代扣")
    @TableField("opNameKey")
    private String opNameKey;

    @ApiModelProperty(value = "操作员编号，20220928")
    @TableField("opNoKey")
    private String opNoKey;

    @ApiModelProperty(value = "名称")
    @TableField("Name")
    private String Name;

    @ApiModelProperty("产品 0-补胎包 1-香薰")
    @TableField("pro_name")
    private Integer proName;

    @ApiModelProperty("权益包类型 0-权益包一 1-权益包二")
    @TableField("equity_type")
    private Integer equityType;

    @ApiModelProperty("用户登录小程序openid")
    @TableField(exist = false)
    private String openId;

    @ApiModelProperty("设备ID")
    @TableField(exist = false)
    private String dvId;

    @ApiModelProperty("ETC卡号")
    @TableField(exist = false)
    private String etcSn;

    @TableField(exist = false)
    private String code;

    @ApiModelProperty("手机验证码")
    @TableField(exist = false)
    private String validCode;

    @TableField("payNo")
    private String payNo;

    @TableField("payState")
    private Integer payState = 0; //0-未支付,1-已支付

    @ApiModelProperty(value = "创建时间")
    @TableField("createDate")
    private Date createDate;


}
